package birdry.ui.components.navigation
{
	
	import birdry.utils.MovieClipUtil;
	import com.greensock.easing.Expo;
	import flash.display.Sprite;
	import flash.display.MovieClip;
	import flash.display.DisplayObject;
	import flash.events.Event;
	import flash.events.MouseEvent;
	import com.greensock.TweenNano;
	
	/**
	* ...
	* @author 
	*/
	public class FrameMotion extends AMotionDefine implements IMotionDefine	{
		
		override public function destroy(): void	{	
			_btArr = null;
			super.destroy();
		}
		
		override public function active(bt:*):void 		{
			var i:uint;
			for ( i = 0; i < _max; ++i)	{
				if (_btArr[i] == bt)	{
					MovieClipUtil.gotoFrame(_btArr[i]);
				}	else	{
					MovieClipUtil.gotoFrame(_btArr[i], 1);
				}
			}
		}
		
		public function FrameMotion()	{
			super();
		}
		
		
		
	}	// class
	
}	// package